{include file="index/header" /}
<body>
  <block name="css">
    <script type="text/javascript" charset="utf-8" src="__PUBLIC__/admin/UEditor/ueditor.config.js"></script>
    <script type="text/javascript" charset="utf-8" src="__PUBLIC__/admin/UEditor/ueditor.all.min.js"> </script>
    <!--建议手动加在语言，避免在ie下有时因为加载语言失败导致编辑器加载失败-->
    <!--这里加载的语言文件会覆盖你在配置项目里添加的语言类型，比如你在配置项目里配置的是英文，这里加载的中文，那最后就是中文-->
    <script type="text/javascript" charset="utf-8" src="__PUBLIC__/admin/UEditor/lang/zh-cn/zh-cn.js"></script>
</block>
<div class="panel admin-panel margin-top" id="add">
  <div class="panel-head"><strong><span class="icon-pencil-square-o"></span> 增加内容</strong></div>
  <div class="body-content">
    <form method="post" class="form-x" action="" onkeydown="if(event.keyCode==13){return false;}" enctype="multipart/form-data">
      <div class="form-group">
        <div class="label">
          <label>名字：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" name="name" value="" placeholder="请输入名字" data-validate="required:请输入名字" />
          <div class="tips"></div>
        </div>
      </div>
      <div class="form-group">
          <div class="label">
            <label>职位：</label>
          </div>
          <div class="field">
            <input type="text" class="input w50" name="duties" value="" placeholder="请输入职务" data-validate="required:请输入职务" />
          <div class="tips"></div>
          </div>
        </div>
      <div class="form-group">
        <div class="label">
          <label>logo：</label>
        </div>
        <div class="field">
            <input type="file" name="logo" class="button bg-blue margin-left" id="image1" value="+ 浏览上传"  style="float:left;">
          <div class="tips"></div>
        </div>
      </div>
      <div class="form-group">
        <div class="label">
          <label>手机logo：</label>
        </div>
        <div class="field">
              <input type="file" name="wapLogo" class="button bg-blue margin-left" id="image1" value="+ 浏览上传"  style="float:left;">
          <div class="tips"></div>
        </div>
      </div>
      <div class="form-group">
         <div class="label">
          <label>内容：</label>
        </div>
        <div class="field">
          <textarea name="content" id="editor" style="width:845px; height:460px;"></textarea>
          <div class="tips"></div>
        </div>
      </div>
        <div class="form-group">
          <div class="label">
            <label></label>
          </div>
          <div class="field">
            <button class="button bg-main icon-check-square-o" type="submit"> 提交</button>
          </div>
        </div>
    </form>
  </div>
</div>
</body></html>
<script type="text/javascript">
   var ue = UE.getEditor('editor');
</script>